president michelle bachelet signs law that will take effect in six months .
chile joins several other south american nations that allow the unions .